/*$Id: ME2MailEsc.h,v 1.1 2008/10/17 06:08:18 leon Exp $*/

#ifndef _ME2MAIL_ESC_H_
#define _ME2MAIL_ESC_H_
#include "clfc/clfc.h"

unsigned char*	URL_decode(unsigned char* lpszDest);
int	Base64_encode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize, int bAddLF = 0);
int	Base64_decode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize);
int	UU_encode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize);
int	UU_decode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize);
int	QuotedPrint_encode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize, int nAddLF = 0);
int	QuotedPrint_decode(const unsigned char* lpSrc,int nSrc,unsigned char* lpDest,int *lpnSize);
char* 	HZ_decode(char* lpSrc);
char* 	RFC822_decode(unsigned char* lpSrc, char* lpDest, CLStr* charset=NULL);

#endif

